$(function(){
	var page=1;
	Public.getBillRecordList({
		userId: localStorage.userId,
		method:"order.search",
		version: "1.0.3",
		pageSize: 10,
		pageNo: page,
		payTradeWay: sessionStorage.payType, //支付方式
		arrivalType: sessionStorage.payDaoz, //到账方式
		startDate: sessionStorage.startTime, //开始时间
		endDate: sessionStorage.endTime, //结束时间
		payState: sessionStorage.payStart //支付状态
	});
	Util.orderList(function(){
		page ++;
		Public.getBillRecordList({
			userId: localStorage.userId,
			method:"order.search",
			version: "1.0.3",
			pageSize: 10,
			pageNo: page,
			payTradeWay: sessionStorage.payType, //支付方式
			arrivalType: sessionStorage.payDaoz, //到账方式
			startDate: sessionStorage.startTime, //开始时间
			endDate: sessionStorage.endTime, //结束时间
			payState: sessionStorage.payStart //支付状态
		});
	});
});

var order = { //订单跳转封装
		orderJump: function(self) {
			var orderId = $(self).data('id');
			Util.jump('orderDetails.html?orderId=' + orderId);
		},
		 // 筛选
		 orderScreen:function(){
		 	$('.main-model').show();
			$('.model-right').animate({right:'0px'});
		 }
	}
